package kingone.phone_store_spring_practice.repository;

import kingone.phone_store_spring_practice.entity.PhoneSpecs;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PhoneSpecsRepository extends JpaRepository<PhoneSpecs,Integer> {

    public List<PhoneSpecs> findAllByPhoneId(Integer phoneId);
}
